﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO;

namespace Fjaspx.UI.Web.UCenter
{
    public partial class UCLeft : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        public string UCenterMenu()
        {
            string Path = Server.MapPath("~/app_data/UGroupMenu/" + Fjaspx.Common.Session.Get("ugroup_id") + ".xml");
            if (!File.Exists(Path)) { Path = Server.MapPath("~/app_data/UGroupMenu/UserNavigation.xml"); }
            return Fjaspx.Common.SystemCms.Read_File(Path, "utf-8");
        }
    }
}